package com.taobao.txc.common.config;

import com.alibaba.fastjson.annotation.JSONType;
import org.apache.commons.lang.builder.HashCodeBuilder;

@JSONType
class ConsoleConfig$KeyItem
{
  public String group;
  public String dataId;
  public String version;
  
  public ConsoleConfig$KeyItem(ConsoleConfig paramConsoleConfig, String paramString1, String paramString2)
  {
    this.group = paramString1;
    this.dataId = paramString2;
  }
  
  public int hashCode()
  {
    HashCodeBuilder localHashCodeBuilder = new HashCodeBuilder();
    localHashCodeBuilder.append(this.group).append(',').append(this.dataId);
    return localHashCodeBuilder.toHashCode();
  }
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == null) {
      return false;
    }
    return hashCode() == paramObject.hashCode();
  }
  
  public String toString()
  {
    return String.format("%s:%s", new Object[] { this.group, this.dataId });
  }
}


/* Location:           C:\Users\ibm\Downloads\txc-yun-sample (1)\txc-yun-sample\lib\txc-client-2.0.72.jar
 * Qualified Name:     com.taobao.txc.common.config.ConsoleConfig.KeyItem
 * JD-Core Version:    0.7.0.1
 */